﻿using Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CgdataBase
{
    public class EventHelper
    {
        private static IEventAggregator _aggregator;
        public static IEventAggregator Aggregator
        {
            get
            {
                if (_aggregator == null)
                {
                    _aggregator = new EventAggregator();
                }

                return _aggregator;
            }
        }
    }
}